projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6f80ae
)
(Fset_frame_size): Do call Fset_frame_size
author
Richard M. Stallman
<rms@gnu.org>
Tue, 9 Apr 1996 03:01:40 +0000
(
03:01
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 9 Apr 1996 03:01:40 +0000
(
03:01
+0000)
if size is specified and there is a pending size change already.
src/frame.c
patch
|
blob
|
history
diff --git
a/src/frame.c
b/src/frame.c
index 707a0d26a55f6e45ab2a3c1e4a820737f9c8eaee..846c142248efca4105fb5fc8346aa1ec743000c7 100644
(file)
--- a/
src/frame.c
+++ b/
src/frame.c
@@
-1955,7
+1955,8
@@
DEFUN ("set-frame-size", Fset_frame_size, Sset_frame_size, 3, 3, 0,
#ifdef HAVE_WINDOW_SYSTEM
if (FRAME_WINDOW_P (f))
{
- if (XINT (rows) != f->height || XINT (cols) != f->width)
+ if (XINT (rows) != f->height || XINT (cols) != f->width
+ || FRAME_NEW_HEIGHT (f) || FRAME_NEW_WIDTH (f))
x_set_window_size (f, 1, XINT (cols), XINT (rows));
}
else